package com.zhao.service;

import com.zhao.pojo.Purchase;
import com.zhao.vo.PurchaseVoOne;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface PurchaseService {

    List<Purchase> selectAllPurchase();

    int addPurchase(PurchaseVoOne purchaseVoOne);

    Purchase selectPurchaseById(int id);

    int updatePurchase(PurchaseVoOne purchaseVoOne);

    int deletePurchase(int id);
}
